package butang.jvm.MethodDemo;

import org.junit.Test;

import java.rmi.server.UID;

/**
 * ClassName: FrameDemo1
 * Package: butang.jvm.MethodDemo
 * Description:
 *
 * @Author BuTang
 * @Create 2024/1/23 16:38
 * @Version 1.0
 */
public class FrameDemo1 {
    private  static int i = 0 ;
    @Test
    public void test(){
        demo1();
    }
    public static void demo1(){
        i++;
        System.out.println(i);
        demo1();
    }
}
